Technote NW 15 | September 1992 |
Because afpMiscUserCommand and afpMiscUserWrite are reserved for developers, the format of the AFP request and reply blocks are undefined except for the first byte of the request block which contains the AFP call number. If the request block is further defined to include a word-aligned long value, that long value can be used to identify a specific developer request. Since most developers have probably already been assigned a unique 4-byte file creator type, we suggest reusing that creator type for the long value. Figure 1 shows the request blocks for afpMiscUserCommand and afpMiscUserWrite with the creator type value. The value of aspMaxCmdSize in the figure is returned by the ASPGetParms function.
Figure 1 afpMiscUserCommand and afpMiscUserWrite Request Blocks With
Creator Type Identifier
Further Reference: